package com.macro.mall.mapper;

import com.macro.mall.model.SpsPullTask;
import com.macro.mall.model.SpsPullTaskExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SpsPullTaskMapper {
    long countByExample(SpsPullTaskExample example);

    int deleteByExample(SpsPullTaskExample example);

    int deleteByPrimaryKey(Long id);

    int insert(SpsPullTask record);

    int insertSelective(SpsPullTask record);

    List<SpsPullTask> selectByExample(SpsPullTaskExample example);

    SpsPullTask selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") SpsPullTask record, @Param("example") SpsPullTaskExample example);

    int updateByExample(@Param("record") SpsPullTask record, @Param("example") SpsPullTaskExample example);

    int updateByPrimaryKeySelective(SpsPullTask record);

    int updateByPrimaryKey(SpsPullTask record);

    List<SpsPullTask> list(String templateName);
}